package com.itheima_02;

public class StudentDemo {
    public static void main (String[] args) {
        Student s = new Student();
        s.setName("阿良");
        s.setAge(-25);
        s.show();
        System.out.println(s.getName() + "--" + s.getAge() + "岁");
        s.setName("平安");
        s.setAge(24);
        s.show();
        System.out.println(s.getName() + "--" + s.getAge() + "岁");
    }
}
